/*
   void *and256(void* dest, const void* src1, const void* src2)
   a0=dest, a1=src1, a2=src1
*/
.text
.globl and256
.type and256, @function

.align 2
and256:
    li t0, 8
    vsetvli t0, t0, e32, m1
    vle32.v v1, (a1)
    vle32.v v2, (a2)
    vand.vv v3, v1, v2
    vse32.v v3, (a0)
    ret